<HTML>
<HEAD>
<title>Serializer.serialize - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href="index.html">Serializer</a>&nbsp;/&nbsp;<a href=".">serialize</a><br/>
<br/>
<h1>serialize</h1>
<a name="org.mapdb.Serializer$serialize(org.mapdb.DataOutput2, org.mapdb.Serializer.A)"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">serialize</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.Serializer$serialize(org.mapdb.DataOutput2, org.mapdb.Serializer.A)/out">out</span><span class="symbol">:</span>&nbsp;<a href="../-data-output2/index.html"><span class="identifier">DataOutput2</span></a><span class="symbol">, </span><span class="identifier" id="org.mapdb.Serializer$serialize(org.mapdb.DataOutput2, org.mapdb.Serializer.A)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Serializes the content of the given value into the given DataOutput2. </p>
<h3>Parameters</h3>
<a name="out"></a>
<code>out</code> - DataOutput2 to save object into <br/>
<br/>
<a name="value"></a>
<code>value</code> - Object to serialize <br/>
<h3>Exceptions</h3>
<a name="IOException"></a>
<code>IOException</code> - in case of an I/O error<br/>
<br/>
<br/>
</BODY>
</HTML>
